import knex from 'knex'
import config from './globalConfig'

const mysql = knex({
    client: 'mysql',
    connection: config.database,
    pool: {
        min: 0,
        max: 7
    },
    useNullAsDefault: true
});
export {mysql};
